﻿using System;
using System.Net;
using System.Collections.Generic;

namespace AccessControl.Video.Rtsp
{
	/// <summary>
	/// Base class for sockets
	/// </summary>
	/// <remarks></remarks>
	abstract class SocketBase
	{
		#region Public Properties

		/// <summary>
		/// Gets or sets the IP.
		/// </summary>
		/// <value>The IP.</value>
		/// <remarks></remarks>
		public IPAddress IP { get; set; }

		/// <summary>
		/// Gets or sets the port number.
		/// </summary>
		/// <value>The port number.</value>
		/// <remarks></remarks>
		public int PortNumber { get; set; }

		#endregion

		#region Abstract Members

		public abstract bool Initialize();
		public abstract bool Terminate();

		#endregion
	}
}
